package com.liucxu.qiushimeinv.Api;


import com.liucxu.qiushimeinv.Model.Bean.BaseBean;
import com.liucxu.qiushimeinv.Model.Bean.LoginResponseBean;

import java.util.HashMap;

import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import rx.Observable;

/**
 * 用户登陆注册Service
 * Created by liukanshan on 2017/1/1.
 */

public interface UserService {
    /**
     * 用户登录接口
     * @param values
     * @return
     */
    @FormUrlEncoded
    @POST("user.do")
    Observable<LoginResponseBean> login(@FieldMap HashMap<String,String> values);

    /**
     * 用户充值反馈接口
     * @param values
     * @return
     */
    @FormUrlEncoded
    @POST("user.do")
    Observable<BaseBean> payFeedback(@FieldMap HashMap<String,String> values);
}
